package sysmgr.bean;

import java.io.Serializable;

/**
 * 类的描述：
 *      返回数据的指定格式，后端要将数据转换为json格式进行转换
 * @author cwn
 * @since 2020/12/24 9:25
 */
public class ResponseDate implements Serializable {

    private Integer code;
    private String msg;
    private Object data;

    /**
     * 默认是成功的状态码
     */
    public ResponseDate() {
        this.code = 0;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
